﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ECGServer
{
    class Constants
    {
        public static int TCP_PORT = Convert.ToInt32(System.Configuration.ConfigurationSettings.AppSettings["TCPPort"]);
        public static int UDP_PORT = Convert.ToInt32(System.Configuration.ConfigurationSettings.AppSettings["UDPPort"]);

        public const string MSG_STOPSEND = "StopSend";
        public const string MSG_READYSEND = "ReadySend";
        public const string MSG_REQUESTDATA = "RequestData";
        public const string MSG_STOPRECEIVE = "StopReceive";
        public const string MSG_OK = "OK";
        public const string MSG_EXISTING = "ExistingPatient";
        public const string MSG_NOWORKSTATION = "NoWorkStation";
        public const string MSG_AVAILABLE = "Available";
        public const string MSG_ALIVE = "IamAlive";

        public const int STATUS_READY = 1;
        public const int STATUS_SENDING = 2;
    }
}
